package com.atfusu.dao;

import com.atfusu.base.BaseDao;
import com.atfusu.bean.entity.RolePermission;

import java.util.List;

/**
 * Title:
 * Author: fusu
 * DateTime:  2022/12/4
 * Description:
 **/
public interface RolePermissionDao extends BaseDao<RolePermission> {

    List<Long> findPermissionByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);


}
